<style>
    .small {
        margin-top: 10px;
    }
</style>

                    
<div class="wrapper-md" ng-controller="TagOneCtrl">
    <div class="panel panel-default">
        <form form-validation>
        <div class="panel-body" style="padding: 40px;">
            <div class="form-horizontal">
                <div class="form-group">
                  <label>分类</label>
                  <ui-select required style="width: 120px;" ng-model="item.type" theme="bootstrap">
                        <ui-select-match placeholder="请选择">{{$select.selected.name}}</ui-select-match>
                        <ui-select-choices repeat="item.id as item in mappers.type | filter: $select.search">
                          <span ng-bind-html="item.name"></span>
                        </ui-select-choices>
                  </ui-select>
                </div>
                <div class="form-group">
                  <label>推荐</label>
                  <ui-select required style="width: 120px;" ng-model="item.order" theme="bootstrap">
                        <ui-select-match placeholder="请选择">{{$select.selected.name}}</ui-select-match>
                        <ui-select-choices repeat="item.id as item in mappers.order | filter: $select.search">
                          <span ng-bind-html="item.name"></span>
                        </ui-select-choices>
                  </ui-select>
                </div>
                <div class="form-group">
                  <label>标签内容</label>
                  <input required ng-model="item.tagName" type="text" class="form-control" placeholder="请输入标签内容">
                </div>
                <div class="form-group">
                  <button ng-disabled="form.$invalid" ng-click="submit()" type="submit" class="btn btn-primary">保存并发布</button>
                  <a href="#/app/tag/list" class="btn btn-primary">返回</a>
                </div>
            </div>
        </div>
        </form>
    </div>
</div>